//
//  ZQQSqliteTool.h
//  sqlite的封装
//
//  Created by MoDao-iOS on 2017/7/20.
//  Copyright © 2017年 MoDao-iOS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZQQSqliteTool : NSObject

// 用户机制
// uid : nil  common.db
// uid: zhangsan  zhangsan.db

+ (BOOL)deal:(NSString *)sql uid:(NSString *)uid;


/**
 查询表格里面所有的数据信息

 @param sql 查询的sql的语句
 @param uid 查询的表名称
 @return 字典(每一行记录)组成的数组
 */
+ (NSMutableArray <NSMutableDictionary *>*)querySql:(NSString *)sql uid:(NSString *)uid;

+ (BOOL)dealSqls:(NSArray <NSString *>*)sqls uid:(NSString *)uid;

@end
